package com.rainbow.gwt.accounting.server.pojo;

import java.util.Date;

/**
 * @author rainbow
 * @hibernate.class table="expenditure"
 */
public class Expenditure {
	private Long id;
	private String type;
	private Double amount;
	private String currency;
	private String city;
	private String country;
	private String manner;
	private Date exDate;
	private String description;
	/**
	 * @hibernate.id generator-class="native" 
	 * @hibernate.column name="ID"
	 */
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @hibernate.property column="type" type="java.lang.String" length="32" not-null="true"
	 */
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @hibernate.property column="amount" type="java.lang.Double"
	 *                     not-null="true"
	 */
	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * @hibernate.property column="currency" type="java.lang.String" length="32" not-null="true"
	 */
	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}
	/**
	 * @hibernate.property column="city" type="java.lang.String" length="32" not-null="true"
	 */
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * @hibernate.property column="country" type="java.lang.String" length="32" not-null="true"
	 */
	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}
	/**
	 * @hibernate.property column="manner" type="java.lang.String" length="32" not-null="true"
	 */
	public String getManner() {
		return manner;
	}

	public void setManner(String manner) {
		this.manner = manner;
	}
	/**
	 * @hibernate.property column="ex_date" type="java.util.Date"
	 */
	public Date getExDate() {
		return exDate;
	}

	public void setExDate(Date exDate) {
		this.exDate = exDate;
	}
	/**
	 * @hibernate.property column="description" type="java.lang.String" length="32" not-null="true"
	 */
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
